/**
 * Created by 2017 on 2017/2/28.
 */

import { RouterModule, Routes } from '@angular/router';
import { ModuleWithProviders } from '@angular/core';

const routes:Routes = [
  { path: '', redirectTo: '/page/dashboard', pathMatch: 'full' },
  { path: '**',  redirectTo: '/page/dashboard' }
];

export const AppRoute: ModuleWithProviders = RouterModule.forRoot(routes,{useHash:true});
